home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (3rd Edition) / The Business Master (3rd Edition).iso / files / business / caseman1 / install.bat < prev    next >
Encoding:
DOS Batch File  |  1993-06-29  |  1.3 KB  |  69 lines

  1. Echo off
  2. IF %1==F GOTO FLOPINS
  3. IF %1==H GOTO HARDINS1
  4. CLS
  5. GO
  6. :FLOPINS
  7. ECHO OFF
  8. CLS
  9. CLS
  10. IF %2==1 GOTO FLOPINS1
  11. IF %2==2 GOTO FLOPINS2
  12. CLS
  13. ECHO  This floppy installation requires that you enter either a '1' or a '2',
  14. ECHO  following your 'GO F' instruction.
  15. GOTO END
  16. :FLOPINS2
  17. CLS
  18. GOTO END
  19. :FLOPINS1
  20. GOTO END
  21. :HARDINS1
  22. CLS
  23. echo  
  24. ECHO  This procedure will install all files onto your hard disk, drive %2
  25. ECHO  and will create a subdirectory, \LAWYER.ACS.
  26. echo  
  27. %2:
  28. CD \
  29. MKDIR LAWYER.ACS
  30. CD LAWYER.ACS
  31. COPY %3ECOH.COM >TMP
  32. COPY %3YESNO.COM >TMP
  33. COPY %3LEGAL-X60.EXE >TMP
  34. LEGAL-X60
  35. COPY GO-%2.BAT GO.BAT
  36. DEL LEGAL-X60.EXE 
  37. DEL AUTOFLOP.BAT
  38. CLS
  39. echo  
  40. ECOH ══════════    Tutorial for program    ══════════
  41. echo  
  42. ECHO  PROGRAM.DOC is the tutorial.
  43. ECHO  Would you like to print it out now?
  44. echo  
  45. :YESNO
  46. YESNO
  47. CLS
  48. IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YESNEXT
  49. IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO YES1
  50. GOTO YESNO
  51. :YESNEXT
  52. CLS
  53. ECHO Please make sure your printer is now turned on and set
  54. ECHO to the 'top of form'. Then press any key to continue.
  55. echo  
  56. PAUSE
  57. CLS
  58. echo  
  59. echo  
  60. ECOH ══════════ Now printing the tutorial ══════════
  61. COPY PROGRAM.DOC LPT1: >TMP
  62. CLS
  63. GOTO YES1
  64. :YES1
  65. CLS
  66. GO
  67. :END
  68. echo  
  69.